package com.log.james.entity;

public class SecurityEvent {
//    事件的始末时间
    private String startTime;
    private String endTime;
//    事件类型
    private String eventType;
//    数据内容
    private Object data;

    public SecurityEvent(){}

    public SecurityEvent(String startTime,String endTime,String eventType,Object data){
        this.startTime = startTime;
        this.endTime = endTime;
        this.eventType = eventType;
        this.data = data;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "SecurityEvent{" +
                "startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", eventType='" + eventType + '\'' +
                ", data=" + data +
                '}';
    }
}